<?php

namespace Database\Seeders;

use App\Models\Expert;
use Illuminate\Database\Seeder;

class ExpertTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        Expert::create([
            'name'=>'石天宇',
            'sex'=>'男',
            'photo'=>'/assets/img/1.png',
            'position'=>'院长',
            'department'=>'内科',
            'hospital'=>'北京医院',
            'introduction'=>'23467823',
            'degree'=>'大学',
        ]);

        Expert::factory()->count(10)->create();
    }
}
